package com.example.pojo.orm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel("季鑫利:调拨申请")
public class ProductAllotApply implements Serializable {
    @ApiModelProperty("调拨申请Id")
    private Integer id;
    @ApiModelProperty("商品类别ID")
    private Integer typeId;
    @ApiModelProperty("商品类别名称")
    private String typeName;
    @ApiModelProperty("商品id")
    private Long productId;
    @ApiModelProperty("商品型号")
    private String modelNumber;
    @ApiModelProperty("调拨数量")
    private Long allotNumber;
    @ApiModelProperty("单位（1-包；2-盒）")
    private Integer unit;
    @ApiModelProperty("申请人(姓名)")
    private String applicant;
    @ApiModelProperty("柜台号(例：3-1)")
    private String counterNumber;
    @ApiModelProperty("申请状态(1-申请处理中；2-断货；3-已发货；4-撤回申请；5-退回)")
    private Integer applyStatus;
    @ApiModelProperty("申请时间")
    private Long applyTime;
    @ApiModelProperty("处理时间")
    private Long disposeTime;
    @ApiModelProperty("处理人")
    private String disposer;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getModelNumber() {
        return modelNumber;
    }

    public void setModelNumber(String modelNumber) {
        this.modelNumber = modelNumber;
    }

    public Long getAllotNumber() {
        return allotNumber;
    }

    public void setAllotNumber(Long allotNumber) {
        this.allotNumber = allotNumber;
    }

    public Integer getUnit() {
        return unit;
    }

    public void setUnit(Integer unit) {
        this.unit = unit;
    }

    public String getApplicant() {
        return applicant;
    }

    public void setApplicant(String applicant) {
        this.applicant = applicant;
    }

    public String getCounterNumber() {
        return counterNumber;
    }

    public void setCounterNumber(String counterNumber) {
        this.counterNumber = counterNumber;
    }

    public Integer getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(Integer applyStatus) {
        this.applyStatus = applyStatus;
    }

    public Long getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Long applyTime) {
        this.applyTime = applyTime;
    }

    public Long getDisposeTime() {
        return disposeTime;
    }

    public void setDisposeTime(Long disposeTime) {
        this.disposeTime = disposeTime;
    }

    public String getDisposer() {
        return disposer;
    }

    public void setDisposer(String disposer) {
        this.disposer = disposer;
    }

    @Override
    public String toString() {
        return "ProductAllotApply{" +
                "id=" + id +
                ", typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", productId=" + productId +
                ", modelNumber='" + modelNumber + '\'' +
                ", allotNumber=" + allotNumber +
                ", unit=" + unit +
                ", applicant='" + applicant + '\'' +
                ", counterNumber='" + counterNumber + '\'' +
                ", applyStatus=" + applyStatus +
                ", applyTime=" + applyTime +
                ", disposeTime=" + disposeTime +
                ", disposer='" + disposer + '\'' +
                '}';
    }
}
